home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
util
/
restools.sit
/
ResTools 3.20.rsrc
/
HTXT_7_User Defined Resources_
< prev
next >
Wrap
Text File
|
1988-12-28
|
482b
|
16 lines
Arbitrary resources can also be defined. They use a syntax similiar to the
following example. The data of the resource requires that you define a series
of data types followed by their contents.
userdefined resource 'MUDB' (134)
{
pstring: "this is a pascal string";
cstring: "this is a c string";
string: "C String without trailing null";
integer: 1;
long: 2;
byte: 3;
point: { 23, 145};
rectangle: {1,34,56,78};
};